* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #f3f5f7;
}

/* 清除浮动 */
.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

.header,
.box,
.goods,
.boxes,
.footbox {
    margin: 0 auto;
    width: 1200px;
    /* background-color: gray; */

}

.header {
    margin: 30px auto;
    height: 42px;
}

.header .logo {
    float: left;
    width: 198px;
    height: 42px;
    /* background-color: pink; */
}

.header .nav {
    float: left;
    margin-left: 60px;
}

.header .nav li {
    margin: 0 15px;
    float: left;
}

.header .nav li a {
    display: block;
    height: 42px;
    line-height: 42px;
    padding: 0 10px;
    font-size: 18px;
    color: #050505;
}

.header .nav li a:hover {
    border-bottom: 2px solid #00a4ff;
    color: #00a4ff;
}

/* 搜索模块 */
.header .search {
    float: left;
    margin-left: 70px;
    width: 412px;
    height: 42px;
    /* background-color: skyblue; */
}

.header .search input {
    float: left;
    width: 345px;
    height: 40px;
    border: 1px solid #00a4ff;
    border-right: none;
    color: #bfbfbf;
    font-size: 14px;
    padding-left: 15px;
}

.header .search button {
    float: left;
    width: 50px;
    height: 42px;
    background-color: pink;
    border: 0;
    background: url(imgs/btn.png);
}

.header .user {
    float: right;
    line-height: 42px;
    margin-right: 30px;
    font-size: 14px;
}


/* banner部分 */

.banner {
    height: 421px;
    background-color: #1c036c;
}

.banner .box {

    height: 421px;
    /* 背景图片垂直靠上水平居中 */
    background: url(imgs/banner2_20190819_210028.png) no-repeat top center;
}

.subnav {
    float: left;
    width: 190px;
    height: 421px;
    background: rgba(0, 0, 0, .3);
}

.subnav li {
    height: 45px;
    line-height: 45px;
    padding: 0 20px;
}

.subnav a {
    font-size: 14px;
    color: #fff;
}

.subnav li a span {
    float: right;
}

.subnav a:hover {
    color: #00a4ff;
}

/* 课程表模块 */
.course {
    float: right;
    /* 浮动的盒子不会有外边距合并的问题 */
    margin-top: 50px;
    width: 230px;
    height: 300px;
    background-color: #fff;
}

.course h2 {
    height: 48px;
    background-color: #95C9E7;
    text-align: center;
    line-height: 48px;
    font-size: 18px;
    color: #fff;
}

.course .content {
    padding: 0 20px;
}

.course .content ul li {
    padding: 14px 0;
    border-bottom: 1px solid #ccc;
}

.course .content ul li h4 {
    font-size: 16px;
    color: #4e4e4e;
}

.course .content ul li p {
    font-size: 12px;
    color: #a5a5a5;
}

.course .content .more {
    display: block;
    margin-top: 5px;
    height: 38px;
    text-align: center;
    line-height: 38px;
    font-size: 16px;
    font-weight: 700;
    color: #00a4ff;
    border: 1px solid #00a4ff;
}

/* 精品推荐模块 */
.goods {
    margin-top: 10px;
    height: 60px;
    line-height: 60px;
    background-color: #fff;
    box-shadow: 0 2px 3px 3px rgba(0, 0, 0, .1);
}

.goods h3 {
    margin-left: 30px;
    float: left;
    font-size: 16px;
    color: #4DBAFC;
}

.goods ul {
    float: left;
    margin-left: 30px;
}

.goods ul li {
    float: left;
}

.goods ul li a {
    padding: 0 30px;
    font-size: 16px;
    color: #050505;
    border-left: 1px solid #ccc;
}

.goods .change {
    float: right;
    margin-right: 30px;
    font-size: 14px;
    color: #4DBAFC;
}

/* 精品推荐商品盒子区域 */
.boxes {
    margin-top: 30px;
}

.boxes .box-hd {
    height: 45px;
}

.boxes .box-hd h3 {
    float: left;
    font-size: 20px;
    color: #494949;
}

.boxes .box-hd a {
    float: right;
    margin-top: 10px;
    margin-right: 30px;
    font-size: 12px;
    color: #a5a5a5;
}

.boxes .box-bd {}

.boxes .box-bd ul {
    width: 1225px;
}

/* 把li的父亲ul修改的足够宽，一行能撞开5个盒子就不会换行了 */
.boxes .box-bd ul li {
    margin-right: 15px;
    margin-bottom: 15px;
    float: left;
    width: 228px;
    height: 270px;
    background-color: #fff;
}

.boxes .box-bd ul li img {
    width: 100%;
}

.boxes .box-bd ul li h4 {
    margin: 20px 20px 20px 25px;
    font-size: 14px;
    color: #050505;
    font-weight: 400;
}

.boxes .box-bd ul li .info {
    margin: 0 20px 0 25px;
    font-size: 12px;
    color: #999;
}

.boxes .box-bd ul li .info span {
    color: #ff7c2d;
}


/* 底部区域 */
.footer {
    overflow: hidden;
    height: 200px;
    background-color: #fff;
}

.footer .footbox {
    margin-top: 30px;
}


.footer .footbox .copyright {
    float: left;
}

.footer .footbox .copyright p {
    margin: 20px 0 15px;
    font-size: 12px;
    color: #666;
}

.footer .footbox .copyright .app {
    display: block;
    width: 118px;
    height: 33px;
    line-height: 33px;
    border: 1px solid #00a4ff;
    text-align: center;
    color: #00a4ff;
    font-size: 16px;
}

.footer .footbox .links {
    float: right;
}

.footer .footbox .links dl {
    float: left;
    margin-left: 100px;
}

.footer .footbox .links dl dt {
    margin-bottom: 5px;
    font-size: 16px;
    color: #333;
}

.footer .footbox .links dd a {
    font-size: 12px;
    color: #333;
}